<template>
  <div class="download-center">
    <TaskList moduleType="export" :taskSource="taskSource"></TaskList>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'
import TaskList from '../common/TaskList.vue'
@Component({
  name: 'ExportIndex',
  components: { TaskList }
})
export default class ExportIndex extends Vue {
  private taskSource: object[] = [ // 任务来源
    { name: '短信记录', _id: 'sms' },
    { name: '通话记录', _id: 'cdr' },
    { name: '通话录音', _id: 'cdrRecordFile' },
    { name: '会话记录', _id: 'chatSession' },
    { name: '会话内容', _id: 'chatSessionContent' },
    { name: '留言记录', _id: 'leaveSession' },
    { name: '知识库', _id: 'km' },
    { name: '公共常用语', _id: 'commonqr' },
    { name: '个人常用语', _id: 'agentqr' },
    { name: '在线会话标签', _id: 'sessionTags' },
    { name: '部门下座席导出', _id: 'department' },
    { name: '列表下座席导出', _id: 'agent' },
    { name: '自动外呼', _id: 'autoDialout' },
    { name: '预览外呼', _id: 'previewDialout' },
    { name: '在线监控座席日志', _id: 'imMonitorLog' },
    { name: '在线监控座席详细日志', _id: 'imMonitorDetailLog' },
    { name: '工单导出', _id: 'workOrder' }
  ]
}
</script>

<style lang="stylus" scoped>
.download-center
  height 100%
  position relative
</style>
